package com.ruoyi.system.domain;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;

/**
 * 论坛对象 my_forum
 * 
 * @author ruoyi
 * @date 2023-11-16
 */
@Data
public class MyForum implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 论坛id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 论坛类型 0表白墙 1二手交易 3寻物 */
    @Excel(name = "论坛类型 0表白墙 1二手交易 3寻物")
    private Integer type;

    /** 发送时间 */
    @JsonFormat(pattern = "MM-dd HH:mm")
    @Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ftime;

    @TableField(exist = false)
    private String nickname;

    @TableField(exist = false)
    private String headimg;

    @TableField(exist = false)
    private String imgs;

}
